<template>
  <div class="viewdata">
    <div>
      <div class="viewdataBox">
        <h3>面相照</h3>
        <div class="face-box">
          <div class="face">
            <FaceFile>正面像</FaceFile>
          </div>
          <div class="face">
            <FaceFile>正面微笑像</FaceFile>
          </div>
          <div class="face">
            <FaceFile>右侧45度像</FaceFile>
          </div>
          <div class="face">
            <FaceFile>右侧90度像</FaceFile>
          </div>
        </div>

      </div>
      <div class="viewdataBox intraOrailm">
        <h3>口内照</h3>
        <div class="face-box">
          <div class="face">
            <FaceFile>口内45度右侧像</FaceFile>
          </div>
          <div class="face">
            <FaceFile>口内正面像</FaceFile>
          </div>
          <div class="face">
            <FaceFile>口内45度左侧像</FaceFile>
          </div>
        </div>
        <div class="face-box face-boxB">
          <div class="face">
            <FaceFile>口内90度像</FaceFile>
          </div>
          <div class="face">
            <FaceFile>口内正面上颌像</FaceFile>
          </div>
          <div class="face">
            <FaceFile>口内正面下颌像</FaceFile>
          </div>
        </div>
      </div>
      <div class="viewdataBox">
        <h3>X光照</h3>
        <div class="xIntraOrailm">
          <div>
            <SwitchCli :swit="fl"></SwitchCli>
          </div>
          <div class="xIntraOrailmBox">
            <div class="face">
              <FaceFile>曲面新层片</FaceFile>
            </div>
            <div class="face">
              <FaceFile>头颅侧位片</FaceFile>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="viewdataBoxRight">
      <h3>批量上传</h3>
      <div class="boxRight">
        <div class="RightImg">
          <div class="boxRightImg"></div>
          <div class="boxRightImg"></div>
        </div>
        <div class="RightImg">
          <div class="boxRightImg"></div>
          <div class="boxRightImg"></div>
        </div>
        <div class="RightImg">
          <div class="boxRightImg"></div>
          <div class="boxRightImg"></div>
        </div>
        <div class="RightImg">
          <div class="boxRightImg"></div>
          <div class="boxRightImg"></div>
        </div>
        <div class="RightImg">
          <div class="boxRightImg"></div>
          <div class="boxRightImg"></div>
        </div>
        <div class="uploadRightImg">
          <div class="el-icon-upload"></div>
          <p>批量上传</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import FaceFile from './children/FaceFile';
import SwitchCli from './children/SwitchCli';
export default {
  name: 'Viewdata',
  components: {
    FaceFile,
    SwitchCli
  },
  data() {
    return {
      fl: {
        switchVal: ['X光图片', 'CBCT'],
        wid: '150px'
      }
    };
  },
  created() {
  },
  methods: {
    changeTrue() {
      this.fl.flo = true;
      this.fl.floVal = 'X光图片';
    },
    changeFalse() {
      this.fl.flo = false;
      this.fl.floVal = 'CBCT';
    }
  }
};
</script>
<style scoped>
.viewdata{
  padding-bottom: 70px;
  display: flex;
}
.viewdataBox{
  padding: 20px 0px 20px 30px;
}
.face{
  width: 264px;
  margin-right: 20px;
  display: inline-block;
}
.boxRight{
  width: 278px;
  height: 645px;
  background: #F1F2F6;
  border: 1px solid #E6E6E6;
  opacity: 1;
  border-radius: 20px;
  padding: 10px;
}
.RightImg{
  display: flex;
}
.boxRightImg{
  width: 120px;
  height: 78px;
  background: #508FCC;
  border-radius: 10px;
  margin: 6px 4px;
  display: inline-block;
}
.intraOrailm .face:last-of-type{
  margin-right: 0px;
}
.xIntraOrailm{
  width: 1116px;
  height: 278px;
  border: 2px dashed #CCCCCC;
  border-radius: 20px;
}
.xIntraOrailm .face:first-of-type{
  margin-right: 64px;
}
.xIntraOrailmBox{
  width: 636px;
  margin: 0 auto;
  padding: 11px 8px;
}
.viewdataBox .face:last-of-type{
  margin-right: 0px;
}
.uploadRightImg p{
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: #508FCC;
}
.face-boxB{
  margin-top: 20px;
}
.intraOrailm .face{
  width: 300px;
  margin-right: 108px;
}
.viewdata .el-icon-upload{
  margin-top: 40px;
  text-align: center;
  width: 100%;
}
.viewdata .el-icon-upload::before{
  display: inline-block;
  font-size: 70px;
  color: transparent;
  background: linear-gradient(90deg, #89ADDB 0%, #106FCD 100%);
  -webkit-background-clip: text;
}
</style>
